<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="i in aihao">{{i}}</li>
    </ul>
</div>
</body>
<script>
    new Vue({
        el:"#app",
        data:{
            aihao: ['张三','李四','老王','wyf','杰哥']
        },
        methods:{
            dizhi:function (){
                return '北科'
            }
        }
    })
</script>
</html>